# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=certbot-apache
pkgver=1.6.0
pkgrel=1
pkgdesc="Apache plugin for Certbot client"
url="https://pypi.org/project/certbot-apache/"
arch="noarch"
license="Apache-2.0"
depends="certbot py3-acme py3-mock py3-augeas
	py3-setuptools py3-zope-component py3-zope-interface"
checkdepends="py3-pytest"
source="https://pypi.io/packages/source/c/certbot-apache/certbot-apache-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="cb5a09eacc91c218154307645f1de4c80bf5cf5aa139a46dca25a07d6eee237c2fd5eddda1841082d148d4c428a49967b00ee97d303616ea06d468b40fff7012  certbot-apache-1.6.0.tar.gz"
